package com.gtw.dto;

import com.gtw.modules.entity.TbCommodity;
import com.gtw.modules.entity.TbGroupbuy;
import com.gtw.modules.entity.TbUser;

import java.util.Date;
import java.util.List;

/** 拼团封装数据
 * Created by wuye on 2018/3/22.
 */
public class TbGroupBuyUserDto {

    private Integer id;

    /**
     * 团长信息
     */
    private TbUser leaderuser;

    /**
     * 成员列表
     */
    private List<TbUser> teamuser;


    private Date createtime;


    private Date endtime;

    public Integer tbCommodityid;

    private String commodityidimage;

    private Float money;

    private String commodityname;

    private int isend;

    private TbGroupbuy tbGroupbuy;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public TbUser getLeaderuser() {
        return leaderuser;
    }

    public void setLeaderuser(TbUser leaderuser) {
        this.leaderuser = leaderuser;
    }

    public List<TbUser> getTeamuser() {
        return teamuser;
    }

    public void setTeamuser(List<TbUser> teamuser) {
        this.teamuser = teamuser;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public int getIsend() {
        return isend;
    }

    public void setIsend(int isend) {
        this.isend = isend;
    }

    public Integer getTbCommodityid() {
        return tbCommodityid;
    }

    public void setTbCommodityid(Integer tbCommodityid) {
        this.tbCommodityid = tbCommodityid;
    }

    public String getCommodityidimage() {
        return commodityidimage;
    }

    public void setCommodityidimage(String commodityidimage) {
        this.commodityidimage = commodityidimage;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public String getCommodityname() {
        return commodityname;
    }

    public void setCommodityname(String commodityname) {
        this.commodityname = commodityname;
    }

    public TbGroupbuy getTbGroupbuy() {
        return tbGroupbuy;
    }

    public void setTbGroupbuy(TbGroupbuy tbGroupbuy) {
        this.tbGroupbuy = tbGroupbuy;
    }
}
